<script setup lang="ts">
import CommonConfig from "./CommonConfig.vue";
import { type FormDesignerComponents } from "../FormComponentMixin";
const config = defineModel<FormDesignerComponents>("config");
</script>

<template>
  <CommonConfig v-model:config="config" />
  <el-form-item label="搜索按钮">
    <el-radio-group v-model="config.props.rightSearch">
      <el-radio label="不显示" :value="false"></el-radio>
      <el-radio label="显示" :value="true"></el-radio>
    </el-radio-group>
  </el-form-item>
  <el-form-item label="导出按钮">
    <el-radio-group v-model="config.props.rightExport">
      <el-radio label="不显示" :value="false"></el-radio>
      <el-radio label="显示" :value="true"></el-radio>
    </el-radio-group>
  </el-form-item>
</template>

<style lang="scss" scoped></style>
